﻿using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace ElectronicCommerce.Framework.Web.Configuration.Website
{
    public class Theme
    {

        [XmlAttribute("name")]
        public string Name { get; set; }
    }

    public class ThemeCollection : KeyedCollection<string, Theme>
    {

        protected override string GetKeyForItem(Theme item)
        {
            return item.Name;
        }
    }
}
